package dao.dto;

import java.sql.Date;

public class News {
	private int newsID;
	private int newsCateID;
	private String unID;
	private String newsTitle;
	private String imageUrl;
	private String newsSummary;
	private String newsContent;
	private String author;
	private Date dateCreated;
	private boolean status;

	public News() {

	}

	public News(int newsID, int newsCateID, String unID, String newsTitle,
			String imageUrl, String newsSummary, String newsContent,
			String author, Date dateCreated, boolean status) {
		this.newsID = newsID;
		this.newsCateID = newsCateID;
		this.unID = unID;
		this.newsTitle = newsTitle;
		this.author = author;
		this.dateCreated = dateCreated;
		this.status = status;
	}

	public int getNewsID() {
		return newsID;
	}

	public void setNewsID(int newsID) {
		this.newsID = newsID;
	}

	public int getNewsCateID() {
		return newsCateID;
	}

	public void setNewsCateID(int newsCateID) {
		this.newsCateID = newsCateID;
	}

	public String getUnID() {
		return unID;
	}

	public void setUnID(String unID) {
		this.unID = unID;
	}

	public String getNewsTitle() {
		return newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getNewsSummary() {
		return newsSummary;
	}

	public void setNewsSummary(String newsSummary) {
		this.newsSummary = newsSummary;
	}

	public String getNewsContent() {
		return newsContent;
	}

	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}
}
